// 在index.js中引入mock模块
import Mock from 'mockjs'

// 定义导航按钮
const { navList } = Mock.mock({
    'navList':[
        {id:1,name:'机票',path:null,value:'index',imgUrl:require('@/assets/images/nav/nav1.jpg')},
        {id:2,name:'专车',path:null,value:'index',imgUrl:require('@/assets/images/nav/nav2.jpg')},
        {id:3,name:'酒店',path:null,value:'index',imgUrl:require('@/assets/images/nav/nav3.jpg')},
        {id:4,name:'保险',path:null,value:'index',imgUrl:require('@/assets/images/nav/nav4.jpg')},
        {id:5,name:'值机',path:'/jizhi',value:'index',imgUrl:require('@/assets/images/nav/nav5.jpg')},
        {id:6,name:'出行问问',path:'/question',value:'index',imgUrl:require('@/assets/images/nav/nav6.jpg')},
        {id:7,name:'贵宾厅',path:null,value:'index',imgUrl:require('@/assets/images/nav/nav7.jpg')},
        {id:8,name:'畅行卡',path:null,value:'index',imgUrl:require('@/assets/images/nav/nav8.jpg')},
        {id:9,name:'消费者评价',path:'/survey',value:'index',imgUrl:require('@/assets/images/nav/nav9.jpg')},
        {id:10,name:'更多',path:'/moreService',value:'index',imgUrl:require('@/assets/images/nav/nav10.jpg')},
    ]
})
 Mock.mock('/api/get/navList','get',()=>{ 
     return {
         status:200,
         message:'获取数据成功',
         data:navList,
     }
 })

 // 机场服务/防疫专区/航旅优选
const { AirportSereverList } = Mock.mock({
    'AirportSereverList':[
        {id:1,name:'机场服务',details:[{id:11,title:'机场专区',path:null,value:'index',imgUrl:require('@/assets/images/airport/airport1.jpg'),describe:'全球机场信息查询'},{id:12,title:'航班雷达',path:null,value:'index',imgUrl:require('@/assets/images/airport/airport2.jpg'),describe:'头顶飞机轻松查'},{id:13,title:'执飞航线',path:null,value:'index',imgUrl:require('@/assets/images/airport/airport3.jpg'),describe:'查询航线执飞'},]},
        {id:2,name:'防疫专区',details:[{id:21,title:'防疫政策',path:null,value:'index',imgUrl:require('@/assets/images/airport/airport4.jpg'),describe:'出入政策查询'},{id:22,title:'疫情风险查询',path:null,value:'index',imgUrl:require('@/assets/images/airport/airport5.jpg'),describe:'中高风险地区名单'},{id:23,title:'疫情航班查询',path:null,value:'index',imgUrl:require('@/assets/images/airport/airport6.jpg'),describe:'确诊患者同程航班'},]},
        {id:3,name:'航旅纵横',details:[{id:31,title:'“胖妞”运-20',path:null,value:'index',imgUrl:require('@/assets/images/airport/airport7.jpg'),describe:'高级质感明星机'},{id:32,title:'建党百年歼20',path:null,value:'index',imgUrl:require('@/assets/images/airport/airport8.jpg'),describe:'补货预售经典款'},{id:33,title:'故宫太和殿积木',path:null,value:'index',imgUrl:require('@/assets/images/airport/airport9.jpg'),describe:'国潮益智礼物'},]},
        
    ]
})
Mock.mock('/api/get/AirportSereverList','get',()=>{ 
    return {
        status:200,
        message:'获取数据成功',
        data:AirportSereverList,
    }
})

// Tab推荐
const { recommendList } = Mock.mock({
    'recommendList':[
        {id:1,title:'合肥新桥国际机场二期改扩建工程开工',srcUrl:require('@/assets/images/news/news1.jpg'),date:'发表于3小时前',paragraph:'@cparagraph(20)',Commentator:[{id:11,author:'探索中的rookie',content:'完全是浪费钱，现在的航站楼都还可以。'},{id:12,author:'初音',content:'远期规划啊'}]},
        {id:2,title:'波音空客将加快推出777XF和A350F',srcUrl:require('@/assets/images/news/news2.jpg'),date:'发表于4小时前',paragraph:'@cparagraph(20)',Commentator:[{id:21,author:'游客',content:'看来拉猪比拉人赚钱了啊'}]},
        {id:3,title:'韩国首迎“航空旅游气泡团”，新加坡游客入境核酸阴性免隔离',srcUrl:null,date:'发表于8小时前',paragraph:'@cparagraph(20)'},
        {id:4,title:'加拿大10月入境旅客较去年同期增逾14倍',srcUrl:require('@/assets/images/news/news4.jpg'),date:'发表于8小时前',paragraph:'@cparagraph(20)'},
        {id:5,title:'海航货运开通北京一布鲁塞尔“客改货”航班',srcUrl:require('@/assets/images/news/news5.jpg'),date:'发表于8小时前',paragraph:'@cparagraph(20)'},
        {id:6,title:'空客下调客机需求预测...',srcUrl:require('@/assets/images/news/news6.jpg'),date:'发表于10小时前',paragraph:'@cparagraph(20)',Commentator:[{id:61,author:'Mark',content:'这个下调幅度也叫不乐观？全球需求2021年...'}]},
        {id:7,title:'酷航航点拓展至英国伦敦...',srcUrl:require('@/assets/images/news/news7.jpg'),date:'发表于11小时前',paragraph:'@cparagraph(20)'},
        {id:8,title:'香港国际机场10月份航空交通量公布...',srcUrl:require('@/assets/images/news/news8.jpg'),date:'发表于12小时前',paragraph:'@cparagraph(20)'},
        {id:9,title:'厦门新机场去的新进展航站区及配套工程初步设计获批',srcUrl:require('@/assets/images/news/news9.jpg'),date:'发表于12小时前',paragraph:'@cparagraph(20)'},
        {id:10,title:'辽宁大连开展第三轮全员核酸检测...',srcUrl:require('@/assets/images/news/news10.jpg'),date:'发表于1天前',paragraph:'@cparagraph(20)'},
        {id:11,title:'柳州机场开展“无纸化乘机·绿色、便捷码上出发”主题志愿者活动...',srcUrl:require('@/assets/images/news/news11.jpg'),date:'发表于1天前',paragraph:'@cparagraph(20)',Commentator:[{id:111,author:'雨霖铃',content:'柳州航班现在是越来越少'}]},
        {id:12,title:'越南六家机场获得AHA国际认证...',srcUrl:require('@/assets/images/news/news12.jpg'),date:'发表于1天前',paragraph:'@cparagraph(20)'},
        {id:13,title:'达茂百灵机场顺利通过通用机场许可审定工作',srcUrl:require('@/assets/images/news/news9.jpg'),date:'发表于8小时前',paragraph:'@cparagraph(20)'},
    ]
})
Mock.mock('/api/get/recommendList','get',()=>{ 
    return {
        status:200,
        message:'获取数据成功',
        data:recommendList,
    }
})

// Tab视频列表
const { tabVideoList } = Mock.mock({
    'tabVideoList':[
        {id:1,title:'国内跑道数量最多的6个机场',srcUrl:require('@/assets/images/tabVideo/tabVideo1.jpg'),playback:'8.1w次播放',timer:'00:24',user:'航旅纵横',like:'1447'},
        {id:2,title:'出门旅游啦！！你们猜我这是来到那里~',srcUrl:require('@/assets/images/tabVideo/tabVideo2.jpg'),playback:'141.1w次播放',timer:'00:43',user:'慕寒m',like:'1.4w'},
        {id:3,title:'一个人在南美洲的年夜饭，回顾下2020旅游行程',srcUrl:require('@/assets/images/tabVideo/tabVideo3.jpg'),playback:'1.3w次播放',timer:'11:49',user:'她的旅途',like:'353'},
        {id:4,title:'达人秀：面对导师的肯定，小姐姐深鞠一躬',srcUrl:require('@/assets/images/tabVideo/tabVideo4.jpg'),playback:'74.8w次播放',timer:'02:49',user:'灿星音乐秀',like:'3073'},
        {id:5,title:'国内14座4F级机场，你去过几个？',srcUrl:require('@/assets/images/tabVideo/tabVideo5.jpg'),playback:'5.3w次播放',timer:'00:28',user:'航旅纵横',like:'1199'},
        {id:6,title:'小丑竟是我自己...',srcUrl:require('@/assets/images/tabVideo/tabVideo6.jpg'),playback:'2.9w次播放',timer:'00:38',user:'首都航空',like:'220'},
        {id:7,title:'小品：韩庚飞机上遇到欧弟假装不认识自己就算了，还摆谱',srcUrl:require('@/assets/images/tabVideo/tabVideo7.jpg'),playback:'202.8w次播放',timer:'04:15',user:'综艺轨迹',like:'5545'},
        {id:8,title:'西藏318国道怒江大桥，有一座特殊的桥墩，路过的车辆都会鸣笛',srcUrl:require('@/assets/images/tabVideo/tabVideo8.jpg'),playback:'8.1w次播放',timer:'00:44',user:'旅行者小多',like:'7812'},
        {id:9,title:'东航天府首行',srcUrl:require('@/assets/images/tabVideo/tabVideo9.jpg'),playback:'8.1w次播放',timer:'00:24',user:'航旅圈',like:'472'},
        {id:10,title:'万里挑一！航天员的训练项目都有哪些？',srcUrl:require('@/assets/images/tabVideo/tabVideo10.jpg'),playback:'6.1w次播放',timer:'01:24',user:'航空知识',like:'365'},
        {id:11,title:'春春：贾玲不知道乐华七子还有个英文名，彻底被整懵，贼逗',srcUrl:require('@/assets/images/tabVideo/tabVideo11.jpg'),playback:'7.9w次播放',timer:'00:24',user:'优酷超级娱乐',like:'1424'},
        {id:12,title:'又是为自己智商感到堪忧的一天',srcUrl:require('@/assets/images/tabVideo/tabVideo12.jpg'),playback:'4.5w次播放',timer:'03:24',user:'首都航空',like:'286'},
        {id:13,title:'是心动啊，糟糕眼神躲不掉',srcUrl:require('@/assets/images/tabVideo/tabVideo13.jpg'),playback:'3.3w次播放',timer:'00:56',user:'首都航空',like:'725'},
    ]
})
Mock.mock('/api/get/tabVideoList','get',()=>{ 
    return {
        status:200,
        message:'获取数据成功',
        data:tabVideoList,
    }
})

// Tab游戏列表
const { gameList } = Mock.mock({
    'gameList':[
        {id:2,title:'捕鱼达人',class:'second',srcUrl:require('@/assets/images/game/game2.jpg'),describe:'捕鱼赚金币'},
        {id:1,title:'王牌机战',class:'first',srcUrl:require('@/assets/images/game/game1.jpg'),describe:'精彩刺激，等你来战'},
        {id:3,title:'冒险王3ol',class:'third',srcUrl:require('@/assets/images/game/game3.jpg'),describe:'快来一起冒险吧'},
        {id:4,title:'金币大富翁',srcUrl:require('@/assets/images/game/game4.jpg'),describe:'草根继承逆袭成富翁'},
        {id:5,title:'天天斗地主真人版',srcUrl:require('@/assets/images/game/game5.jpg'),describe:'专业公正的棋牌竞技游戏'},
        {id:6,title:'萌喵消消乐',srcUrl:require('@/assets/images/game/game6.jpg'),describe:'萌宠消除游戏，给你带来无限欢乐'},
        {id:7,title:'荣耀足球',srcUrl:require('@/assets/images/game/game7.jpg'),describe:'足球巨星为你荣耀而战'},
        {id:8,title:'疯狂酋长',srcUrl:require('@/assets/images/game/game8.jpg'),describe:'酋长归来，重返石器'},
    ]
})
Mock.mock('/api/get/gameList','get',()=>{ 
    return {
        status:200,
        message:'获取数据成功',
        data:gameList,
    }
})

// 横向滚动视频列表  
const { videoList } = Mock.mock({
    'videoList':[
        {id:1,title:'折纸大师的仿真飞机（下）',srcUrl:(require('@/assets/images/videoCover/cover1.jpg'))},
        {id:2,title:'飞机是最早的互联网',srcUrl:require('@/assets/images/videoCover/cover2.jpg')},
        {id:3,title:'当兵乓球以“超音速”冲向物体，结果如何？',srcUrl:require('@/assets/images/videoCover/cover3.jpg')},
        {id:4,title:'中国北斗导航系统工作示意图',srcUrl:require('@/assets/images/videoCover/cover4.jpg')},
        {id:5,title:'圈内跑道数量最多的6个机场，第一名竟然是它！',srcUrl:require('@/assets/images/videoCover/cover5.jpg')},
        {id:6,title:'早期飞机合集（上）',srcUrl:require('@/assets/images/videoCover/cover6.jpg')},
        {id:7,title:'他完成了人类首次高音速飞行',srcUrl:require('@/assets/images/videoCover/cover7.jpg')},
        {id:8,title:'我国首个火星车“祝融”',srcUrl:require('@/assets/images/videoCover/cover8.jpg')},
        {id:9,title:'没有飞机的伞兵是如何进行训练的？',srcUrl:require('@/assets/images/videoCover/cover9.jpg')},
        {id:10,title:'点击查看更多视频',srcUrl:require('@/assets/images/videoCover/cover10.jpg')},
    ]
})
Mock.mock('/api/get/videoList','get',()=>{ 
    return {
        status:200,
        message:'获取数据成功',
        data:videoList,
    }
})

//更多服务
const { moreServices } = Mock.mock({
    'moreServices':[
        {id:1,name:'服务预定',details:[{id:11,title:'酒店',path:null,value:'index',imgUrl:require('@/assets/images/services/service1.jpg'),describe:'品质酒店安心享'},{id:12,title:'专车',path:null,value:'index',imgUrl:require('@/assets/images/services/service2.jpg'),describe:'预定专车享实惠'},{id:13,title:'代泊车',path:null,value:'index',imgUrl:require('@/assets/images/services/service3.jpg'),describe:'机场停车有人帮'},{id:14,title:'手机值机',path:null,value:'index',imgUrl:require('@/assets/images/services/service4.jpg'),describe:'为他人办值机'},{id:15,title:'保险',path:null,value:'index',imgUrl:require('@/assets/images/services/service5.jpg'),describe:'全新疫苗险'},{id:16,title:'航旅优选',path:null,value:'index',imgUrl:require('@/assets/images/services/service6.jpg'),describe:'正品保障'}]},
        {id:2,name:'出行工具',details:[{id:21,title:'行程单',path:null,value:'index',imgUrl:require('@/assets/images/services/service7.jpg'),describe:'轻松打印送到家'},{id:22,title:'执飞航线',path:null,value:'index',imgUrl:require('@/assets/images/services/service8.jpg'),describe:'查询航线执飞'},{id:23,title:'航班雷达',path:null,value:'index',imgUrl:require('@/assets/images/services/service9.jpg'),describe:'头顶飞机轻松查'},{id:24,title:'关注列表',path:null,value:'index',imgUrl:require('@/assets/images/services/service10.jpg'),describe:'航班动态不错过'},{id:25,title:'运营实况',path:null,value:'index',imgUrl:require('@/assets/images/services/service11.jpg'),describe:'全球航班全掌握'},{id:26,title:'我的客服',path:null,value:'index',imgUrl:require('@/assets/images/services/service12.jpg'),describe:'有事没事请找我'},{id:27,title:'时光机',path:null,value:'index',imgUrl:require('@/assets/images/services/service13.jpg'),describe:'快来时光旅行'}]},
        {id:3,name:'防疫专区',details:[{id:31,title:'一码通行',path:null,value:'index',imgUrl:require('@/assets/images/services/service14.jpg'),describe:'防疫信息健康码'},{id:32,title:'防疫政策',path:null,value:'index',imgUrl:require('@/assets/images/services/service15.jpg'),describe:'出入政策查询'},{id:33,title:'疫情航班查询',path:null,value:'index',imgUrl:require('@/assets/images/services/service16.jpg'),describe:'确诊患者同程查询'},{id:34,title:'疫情风险查询',path:null,value:'index',imgUrl:require('@/assets/images/services/service17.jpg'),describe:'中高风险地区名单'}]},
        {id:4,name:'行业机构',details:[{id:41,title:'机场专区',path:null,value:'index',imgUrl:require('@/assets/images/services/service18.jpg'),describe:'全球机场信息查询'},{id:42,title:'航空公司',path:null,value:'index',imgUrl:require('@/assets/images/services/service19.jpg'),describe:'特色服务及资讯'},{id:43,title:'民航服务评价',path:null,value:'index',imgUrl:require('@/assets/images/services/service20.jpg'),describe:'消费者满意度调查'}]},
    ]
})
Mock.mock('/api/get/moreServices','get',()=>{ 
    return {
        status:200,
        message:'获取数据成功',
        data:moreServices,
    }
})